
    /**  
    * @Title: TResultBean.java
    * @Package com.efast.cafe.framework.bean
    * @Description: TODO(用一句话描述该文件做什么)
    * @author Administrator
    * @date 2019年1月4日
    * @version V1.0  
    */
    
package com.efast.cafe.framework.bean;


    /**
    * @ClassName: TResultBean
    * @Description: TODO(这里用一句话描述这个类的作用)
    * @author Administrator
    * @date 2019年1月4日
    *
    */

public class TResultBean<T> extends ResultBean{

	private T object;

	public T getObject() {
		return object;
	}
	public TResultBean(boolean success){
		this.success=success;
		this.currentTime = System.currentTimeMillis();
	}

	public TResultBean(boolean success,String message){
		this.success=success;
		this.message=message;
		this.currentTime = System.currentTimeMillis();
	}
	
	public TResultBean(boolean success,String message,T object){
		this.success=success;
		this.message=message;
		this.object=object;
		this.currentTime = System.currentTimeMillis();
	}
	
	public TResultBean(boolean success,String errorCode,String message,T object){
		this.success=success;
		this.errorCode = errorCode;
		this.message=message;
		this.object=object;
		this.currentTime = System.currentTimeMillis();
	}
	
	public TResultBean(boolean success,T object){
		this.success=success;
		this.object=object;
		this.currentTime = System.currentTimeMillis();
	}
	
	
}
